import { ApiHideProperty, ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class CancelOrderVo {

  @ApiProperty({ description: '订单编号' })
  @IsNotEmpty({ message: "订单编号不能为空" })
  orderCode: string

  // 用户id,系统自动赋值
  @ApiHideProperty()
  userId: number
}